'''
zidian = {
    "张景红":{
        "语文":66,
        "英语":30,
        "数学":60
    },
    "张景绿":{
        "语文":80,
        "英语":70,
        "数学":80
    }
}
#print(f"张景红的英语成绩是：{zidian['张景红']['英语']}")
for x in range(1,200):
    print("张景红是纯狗屎")
# print(zidian.keys())
for name in zidian:
    for kemu in zidian[name]:
        print(f"{name}{kemu}成绩：{zidian[name][kemu]}")
# 张景红是纯狗屎
'''
info_dict = {
    "王力宏":{
        "部门":"科技部",
        "工资":3000,
        "级别":1
    },
    "周杰伦":{
        "部门":"市场部",
        "工资":5000,
        "级别":2
    },
    "林俊杰":{
        "部门":"市场部",
        "工资":7000,
        "级别":3
    },
    "张学友":{
        "部门":"科技部",
        "工资":4000,
        "级别":1
    },
    "刘德华":{
        "部门":"市场部",
        "工资":6000,
        "级别":2
    }
}
for name in info_dict:
    #print(name)
    #print(f"{name}的部门是{info_dict[name]["部门"]}")
    level = info_dict[name]['级别']
    #print(f"{name}的级别是{level}")
    if level == 1:
        info_dict[name]["工资"] += 1000
        info_dict[name]["级别"] += 1
        print(f"加工资一千，升一级")
print(info_dict)
print(f"转换后{list(info_dict)}")